<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>文章列表--layui后台管理模板 2.0</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/css/public.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" style="width:80%;">

	<div class="layui-col-md6 layui-col-xs12">
		<div class="layui-form-item">
			<label class="layui-form-label">商家名</label>
			<div class="layui-input-inline">
				<input type="hidden" name="merchantId" id="merchantId" class="layui-input merchantId">
				<input type="text" name="merchantName" lay-verify="required" id="merchantName"  value="" class="layui-input merchantName">
			</div>
		</div>


		<div class="layui-form-item">
			<label class="layui-form-label">手机号码</label>
			<div class="layui-input-inline">
				<input type="tel" name="contactPhone" id="contactPhone" lay-verify="required" placeholder="请输入手机号码" lay-verify="phone" class="layui-input contactPhone">
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-col-md3 layui-col-xs12 user_right">
			<div class="layui-upload-list">
				<input  type="hidden" name="logo" id="logo" class="layui-input logo">
				<img width="200" height="200" name="uploadFile" class="layui-upload-img layui-circle merchantFaceBtn userAvatar Image" id="Image">
			</div>
			<button type="button" class="layui-btn layui-btn-primary merchantFaceBtn"><i class="layui-icon">&#xe67c;</i> 上传商家logo</button>
		</div>
	</div>
	<div class="layui-form-item userAddress">
		<div class="layui-col-lg6">
			<label class="layui-form-label">商家地址</label>
			<div class="layui-input-inline">
				<select name="province" lay-filter="province" class="province">
					<option value="">请选择省</option>
				</select>
			</div>
			<div class="layui-input-inline">
				<select name="city" lay-filter="city" disabled="disabled" class="city">
					<option value="">请选择市</option>
				</select>
			</div>
			<div class="layui-input-inline">
				<select name="area" lay-filter="town" disabled="disabled" class="town">
					<option value="">请选择县/区</option>
				</select>
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-col-lg6">
			<label class="layui-form-label">详细地址</label>
			<div class="layui-input-block">
				<input type="text" placeholder="请输入详细地址" name="addressDetail" id="addressDetail" class="layui-input addressDetail">
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-col-lg6">
			<label class="layui-form-label">商家描述</label>
			<div class="layui-input-block">
				<textarea placeholder="请输入商家描述" name="merchantDesc" id="merchantDesc" class="layui-textarea merchantDesc"></textarea>
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-col-md3 layui-col-xs12 user_right">
			<div class="layui-upload-list">
				<input  type="hidden" name="qrcode" id="qrcode" class="layui-input qrcode">
				<img width="200" height="200" name="uploadFile" class="layui-upload-img userFaceBtn userAvatar uploadImage" id="uploadImage">
			</div>
			<button type="button" class="layui-btn layui-btn-primary userFaceBtn"><i class="layui-icon">&#xe67c;</i> 上传商家二维码</button>
		</div>
	</div>

	<div class="layui-form-item">
		<div class="layui-col-lg6">
			<label class="layui-form-label">备注信息</label>
			<div class="layui-input-block">
				<textarea placeholder="请输入备注信息" name="remarks" id="remarks" class="layui-textarea remarks"></textarea>
			</div>
		</div>
	</div>

		<div class="layui-form-item layui-row layui-col-xs12">
			<div class="layui-input-block">
				<button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="addMerchant">立即添加</button>
				<button type="reset" class="layui-btn layui-btn-sm layui-btn-primary">取消</button>
			</div>
		</div>



</form>
<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/js/agriecom_merchant/merchantAdd.js"></script>

</body>
</html>